import React from 'react';
import '../css/me.css';
import '../css/news.css';
// import $ from 'jquery';
// import {BrowserRouter as Router,Route,NavLink,Prompt} from 'react-router-dom';

class News extends React.Component{
	constructor(props){
		super(props)
		this.state={
			list:[],
			isshow:false
		}
	}
	goback(){
		this.props.history.push('/mycenter')
	}
	
	
	
	render(){
		return(
			<div className='news'>
				<h1>
					<span onClick={this.goback.bind(this)}>&lt;</span>
					消息
				</h1>

				<ul>
					<li>
						<span>系统消息</span>
						<span>></span>
					</li>
					<li>
						<span>订单通知</span>
						<span>></span>
					</li>
					<li>
						<span>优惠活动</span>
						<span>></span>
					</li>
				</ul>
			</div>	
        )
    }

}
export default News